package com.aaa.excel;

import com.alibaba.excel.EasyExcel;

import java.io.File;

/**
 * @program: qy158-system
 * @description:
 * @author: 闫克起2
 * @create: 2022-10-15 10:00
 **/
public class TestReadDemo {
    public static void main(String[] args) {
        String fileName = "D:\\web-project\\qy158-system\\qy158writer.xlsx";
        // 这里默认读取第一个sheet
        EasyExcel.read(fileName, ExcelDemo.class, new DemoDataListener()).sheet().doRead();
    }
}
